﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Lily.Example.Forms
{
    public partial class Test2 : Form
    {
        public Test2()
        {
            InitializeComponent();
        	var form1 = new Form1();
			form1.Show();
        }

        private void btnClick1_Click(object sender, EventArgs e)
        {
            btnClick1.Text = "Hello World!!";
        }

        private void throws_Click(object sender, EventArgs e)
        {
            throw new RandomException();
        }

        private void btnMsg_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Hello from Project White");
        }

        private void btnLabelText_Click(object sender, EventArgs e)
        {
            lblNameBox.Text = "Updated";
         }

		private void lblText_Click(object sender, EventArgs e)
		{

		}

		private void NameBox_TextChanged(object sender, EventArgs e)
		{

		}

		private void Test2_Load(object sender, EventArgs e)
		{

		}

		private void FavoriteNumber_ValueChanged(object sender, EventArgs e)
		{

		}
    }
}
